rendernode: Don't clip when _draw()ing
authorTimm Bäder <mail@baedert.org>
Wed, 12 Feb 2020 15:22:44 +0000 (16:22 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 12 Feb 2020 15:54:49 +0000 (16:54 +0100)
gsk/gskrendernode.c

index 366ecfdb99b8aaa155ead41c03ee2de9476de3ac..fb80a7c3a0fd8f3d410927eb817298f1e2cfacd2 100644 (file)
@@ -194,18 +194,6 @@ gsk_render_node_draw (GskRenderNode *node,
 
   cairo_save (cr);
 
-#ifdef G_ENABLE_DEBUG
-  if (!GSK_DEBUG_CHECK (GEOMETRY))
-    {
-      GSK_NOTE (CAIRO, g_message ("CLIP = { .x = %g, .y = %g, .width = %g, .height = %g }",
-                                node->bounds.origin.x, node->bounds.origin.y,
-                                node->bounds.size.width, node->bounds.size.height));
-
-      cairo_rectangle (cr, node->bounds.origin.x, node->bounds.origin.y, node->bounds.size.width, node->bounds.size.height);
-      cairo_clip (cr);
-    }
-#endif
-
   GSK_NOTE (CAIRO, g_message ("Rendering node %s[%p]",
                             node->node_class->type_name, node));